@ECHO OFF
ECHO Installing ASP.NET role...

REM ServerManagerCmd -install Web-Asp-Net

start /w pkgmgr /iu:IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ISAPIExtensions;IIS-ISAPIFilter;

SET AspnetRegiisPath="C:\Windows\Microsoft.NET\Framework\v4.0.30319"
IF EXIST "C:\WINDOWS\Microsoft.NET\Framework64\" SET AspnetRegiisPath="C:\Windows\Microsoft.NET\Framework64\v4.0.30319"

@CALL %AspnetRegiisPath%\aspnet_regiis.exe -i
